package Control;

public class CatchSeason implements Visualizable{
	
	private Season season;
	private CatchPhrase catchPhrase;
	private int count;
	
	public CatchSeason() {
		super();
		
	}

	public CatchSeason(Season season, CatchPhrase catchPhrase, int count) {
		super();
		this.season = season;
		this.catchPhrase = catchPhrase;
		this.count = count;
	}

	public Season getSeason() {
		return season;
	}

	public void setSeason(Season season) {
		this.season = season;
	}

	public CatchPhrase getCatchPhrase() {
		return catchPhrase;
	}

	public void setCatchPhrase(CatchPhrase catchPhrase) {
		this.catchPhrase = catchPhrase;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	@Override
	public String valueLabel() {
		return catchPhrase.getPhrase();
	}

	@Override
	public Integer value() {
		return count;
	}

	@Override
	public Integer time() {
		return season.getNumber();
	}

	@Override
	public String timeLabel() {
		return season.getName();
	}

	@Override
	public Integer absoluteTime() {
		return season.getNumber();
	}
	
	
	
}
